//
//  RWHomePageCollectionViewCell.h
//  RedWine
//
//  Created by Liufangfang on 2016/12/26.
//  Copyright © 2016年 HuiBangKe. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol  RWHomePageCollectionViewCellDelegate<NSObject>

- (void)collection:(UIButton *)btn atIndex:(NSInteger)index;
- (void)shoppingCart:(UIButton *)btn atIndex:(NSInteger)index;

@end

@interface RWHomePageCollectionViewCell : UICollectionViewCell

@property (nonatomic, strong) UIImageView *imageV;
@property (nonatomic, strong) UILabel *titleLab;
@property (nonatomic, strong) UILabel *originalMoneyLab;
@property (nonatomic, strong) UILabel *moneyLab;
@property (nonatomic, strong) UIButton *collectionIcon;
@property (nonatomic, strong) UIButton *cartIcon;

@property (nonatomic, weak) id<RWHomePageCollectionViewCellDelegate> delegate;

- (void)loadDataWithModel:(id)model;

@end
